<%@ Page Language="C#" EnableViewState="false" ValidateRequest="false" AutoEventWireup="true" 
	MasterPageFile="~/App_ThemeMasters/NoStyle/OneColumnLayout.Master" Inherits="Syrinx.Gui.AspNet.Nitobi2.NitobiBasePage" EnableEventValidation="false" %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="ScsAspNet" Namespace="Syrinx.Gui.AspNet.Nitobi2" TagPrefix="snc" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>
<%@ Register Assembly="ScsAspNet" Namespace="Articles.Gui.AspNet" TagPrefix="art" %>

<!--#include file="~/SiteControls/RegisterStandardControls.txt"-->
<!--#include file="../SiteControls/StandardHeaderPageContent.inc"-->

<asp:Content ID="c1" ContentPlaceHolderID="title" runat="server">
	<swf:BizProc runat="server" ID="gArt1" factoryName="SurveyBP">
		<State includeSelf="true" entireTree="true"  EditModeSessionKey="GlobalEdit" />
		<ParentBizProc id="loginBP"  />
	</swf:BizProc>
</asp:Content>

<asp:Content ID="c2" ContentPlaceHolderID="trails" runat="server">
</asp:Content>

<asp:Content ID="c3" ContentPlaceHolderID="mainContent" runat="server">
	<div class="articleBox">
		<art:ArticleTranslationDisplay runat="server" ID="srvyDisplay1"
			ParentBizProcIds="gArt1" 
			TranslationTemplate="Articles.Gui.AspNet.ArticleTranslationRWDisplay"
			ReadOnlyTemplate="Articles.Gui.AspNet.ArticleRODisplay">
			<macros imageRes="Thumbnail" />
		</art:ArticleTranslationDisplay>
		
	</div>
	<div>
        <span class="button3"><snc:ActionButton runat="server" ID="btnPrev" Actions="gArt1.MovePrev" Text="Previous" /></span>
        <span class="button3"><snc:ActionButton runat="server" ID="btnNext" Actions="gArt1.MoveNext" Text="Start Survey" /></span>
        <span class="button3"><snc:ActionButton runat="server" ID="btnSave" Actions="gArt1.UpdateArtForm" Text="Next" 
		        TriggerParam="javascript:getArtFormData($(ctl00_mainContent_srvyDisplay1_body))" /></span>
	</div>
</asp:Content>
